99乘法表

#C#

Posted by Phyxsius on 2023-09-14

namespace ConsoleApp1
{
    internal class Program
    {
        static void Main(string[] args)
        {
            //i是被乘數,j是乘數
            for (int i = 1; i <= 9; i++)
            {
                for (int j = 1; j <=9; j++)
                {
                    // \t是tab,排版用
                    Console.Write(i + " * " + j + " = " + i * j + "\t");
                }
                Console.WriteLine();
            }
        }
    }
}

#C#







Related Posts

[筆記]Netlist 01 -Introduction & Framework

[筆記]Netlist 01 -Introduction & Framework

Redux 如何達成在 React 中跨組件傳遞資料

Redux 如何達成在 React 中跨組件傳遞資料

Android 不負責任系列 - Jetpack 組件、MVVM 架構,簡稱 AAC、整潔架構(Clean Architecture) 的領域層(Domain Layer) UseCase 介紹

Android 不負責任系列 - Jetpack 組件、MVVM 架構,簡稱 AAC、整潔架構(Clean Architecture) 的領域層(Domain Layer) UseCase 介紹


Comments